<meta charset="utf-8">
<style type="text/css">
th{
    width: 9em;
}
tr,td{
    border: 1px #ADBFCD solid;
}
</style>
<table data-toggle="tablefixed" data-width="100%" data-nowrap="true">
    <thead>
    <tr>
        <th width="50" rowspan="2">NO.</th>
        <th width="100" rowspan="2">工段</th>
        <g:each in="${dateList}" status="i" var="headInstance">
            <th width="${headInstance.WIDTHS}" colspan="${headInstance.SPEC_CNT}">${headInstance.TRANS_TIME}</th>
        </g:each>
    </tr>
    <tr>
        <g:each in="${timeList}" status="i" var="headInstance">
            <th width="80">${headInstance.TRANS_TIME}</th>
        </g:each>
    </tr>
    </thead>
    <tbody>
    <g:each in="${reportList}" status="i" var="dataInstance">
        <tr>
            <td>${i + 1}</td>
            <td>${dataInstance.STAGE_DESC}</td>
            <g:each in="${timeList}" status="j" var="headInstance">
                <td>${dataInstance[headInstance.TRANS_TIME]}</td>
            </g:each>
        </tr>
    </g:each>
    </tbody>
</table>